<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<sec:authentication property="principal" var="currentPrincipal"
	scope="page" />

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<!DOCTYPE html>
<html lang="zh-CN">
<head>

<%@ include file="/WEB-INF/include/meta.jsp"%>
<%@ include file="/WEB-INF/include/css.jsp"%>

</head>

<body class="ms-theme-blue">

	<%@ include file="/WEB-INF/include/header.jsp"%>
	<%@ include file="/WEB-INF/include/submenu.jsp"%>

	<div class="container-fluid ms-container has-ms-sidemenu">

		<ol class="ms-breadcrumb breadcrumb">
			<li class="active">客户列表&nbsp;&nbsp;-&nbsp;&nbsp;客户详情</li>
            <a class="pull-right" href="${ctx.host}/client-interview-records/${clientInterviewRecord.id}/edit" data-target="#edit" data-toggle="modal">修改基本信息</a>
		</ol>

		<div class="ms-content-layout ">
			<div class="form-horizontal ms-form ">
				<div class="form-group ms-form-group">
					<label class="control-label col-xs-2">访谈客户：</label>
					<div class="col-xs-2">
						<p class="form-control-static">${clientInterviewRecord.client.contacts}</p>
					</div>
					<label class="control-label col-xs-2">联系人：</label>
					<div class="col-xs-2">
						<p class="form-control-static">${clientInterviewRecord.client.contacts}</p>
					</div>
				</div>
                <div class="form-group ms-form-group">
                    <label class="control-label col-xs-2">联系电话：</label>
                    <div class="col-xs-2">
                        <p class="form-control-static">${clientInterviewRecord.client.phone}</p>
                    </div>
                    <label class="control-label col-xs-2">访谈时间：</label>
                    <div class="col-xs-2">
                        <p class="form-control-static"><fmt:formatDate value="${clientInterviewRecord.interviewTime}" pattern="yyyy-MM-dd HH:mm"></fmt:formatDate></p>
                    </div>
                </div>
                <div class="form-group ms-form-group">
                    <label class="control-label col-xs-2">访谈地点：</label>
                    <div class="col-xs-2">
                        <p class="form-control-static">${clientInterviewRecord.interviewLocation}</p>
                    </div>
                    <label class="control-label col-xs-2">内容概要：</label>
                    <div class="col-xs-2">
                        <p class="form-control-static">${clientInterviewRecord.interviewSummary}</p>
                    </div>
                </div>
                <div class="form-group ms-form-group">
                    <label class="control-label col-xs-2">访谈详情：</label>
                    <div class="col-xs-10">
                        <textarea readonly rows="8" cols="120" style="max-width: 80%;" class="form-control-static">${clientInterviewRecord.interviewDetail}</textarea>
                    </div>

                </div>
                
       		</div>
		</div>
		
	</div>
	<%@ include file="/WEB-INF/include/script.jsp"%>
    <d:resource type="script" root="${ctx.resource}/build" src="js/page/data/client-interview-record-list" />
    <script type="text/javascript">
        require([ 'page/data/client-interview-record-list' ], function(page) {
            page.init();
        })
    </script>
</body>
</html>